export const routes = [
  // 项目管理人员
  {
    'name': 'Manager',
    'path': '/manager',
    'hidden': false,
    'redirect': 'noRedirect',
    'component': 'Layout',
    'alwaysShow': true,
    'meta': {
      'title': '项目管理人员',
      'icon': 'component',
      'noCache': false,
      'link': null
    },
    'children': [
      {
        'name': 'Manager2',
        'path': 'manager2',
        'hidden': false,
        'component': 'manager/index',
        'meta': {
          'title': '管理人员',
          'icon': 'clipboard',
          'noCache': false,
          'link': null
        }
      }
    ]
  },
  // 项目负责人
  {
    name: 'Responsible',
    path: '/responsible',
    hidden: false,
    redirect: 'noRedirect',
    component: 'Layout',
    alwaysShow: true,
    meta: { title: '项目负责人', icon: 'component', noCache: false, link: null },
    children: [
      {
        name: 'leader',
        path: 'leader',
        hidden: false,
        redirect: 'noRedirect',
        component: 'ParentView',
        alwaysShow: true,
        meta: { title: '业务首页', icon: 'log', noCache: false, link: null },
        children: [
          {
            name: 'projectLeader',
            path: 'projectLeader',
            hidden: false,
            redirect: 'noRedirect',
            component: 'leader/index',
            meta: { title: '项目负责人', icon: 'clipboard', noCache: false, link: null }
          }
        ]
      },
      {
        name: 'implementation',
        path: 'implementation',
        hidden: false,
        redirect: 'noRedirect',
        component: 'ParentView',
        meta: { title: '项目实施', icon: 'log', noCache: false, link: null },
        children: [
          {
            name: 'projectResource',
            path: 'projectResource',
            hidden: false,
            component: 'implementation/projectResource',
            meta: { title: '项目资源', icon: 'clipboard', noCache: false, link: null }
          },
          {
            name: 'planPreparation',
            path: 'planPreparation',
            hidden: false,
            component: 'implementation/planPreparation',
            meta: { title: '计划编制', icon: 'clipboard', noCache: false, link: null }
          },
          {
            name: 'taskList',
            path: 'taskList',
            hidden: false,
            redirect: 'noRedirect',
            component: 'implementation/taskList',
            meta: { title: '任务清单', icon: 'clipboard', noCache: false, link: null }
          },
          {
            name: 'planApproval',
            path: 'planApproval',
            hidden: false,
            redirect: 'noRedirect',
            component: 'implementation/planApproval',
            meta: { title: '计划审批', icon: 'clipboard', noCache: false, link: null }
          },
          {
            name: 'progressReport',
            path: 'progressReport',
            hidden: false,
            redirect: 'noRedirect',
            component: 'implementation/progressReport',
            meta: { title: '进度报告', icon: 'clipboard', noCache: false, link: null }
          },
          {
            name: 'changeControl',
            path: 'changeControl',
            hidden: false,
            redirect: 'noRedirect',
            component: 'implementation/changeControl',
            meta: { title: '变更控制', icon: 'clipboard', noCache: false, link: null }
          },
          {
            name: 'costControl',
            path: 'costControl',
            hidden: false,
            redirect: 'noRedirect',
            component: 'implementation/costControl',
            meta: { title: '成本控制', icon: 'clipboard', noCache: false, link: null }
          },
          {
            name: 'contractManagement',
            path: 'contractManagement',
            hidden: false,
            redirect: 'noRedirect',
            component: 'implementation/contractManagement',
            meta: { title: '合同管理', icon: 'clipboard', noCache: false, link: null }
          },
          {
            name: 'problemManagement',
            path: 'problemManagement',
            hidden: false,
            redirect: 'noRedirect',
            component: 'implementation/problemManagement',
            meta: { title: '问题管理', icon: 'clipboard', noCache: false, link: null }
          },
          {
            name: 'qualityControl',
            path: 'qualityControl',
            hidden: false,
            redirect: 'noRedirect',
            component: 'implementation/qualityControl',
            meta: { title: '质量控制', icon: 'clipboard', noCache: false, link: null }
          },
          {
            name: 'riskMonitoring',
            path: 'riskMonitoring',
            hidden: false,
            redirect: 'noRedirect',
            component: 'implementation/riskMonitoring',
            meta: { title: '风险监控', icon: 'clipboard', noCache: false, link: null }
          },
          {
            name: 'stakeholderManagement',
            path: 'stakeholderManagement',
            hidden: false,
            redirect: 'noRedirect',
            component: 'implementation/stakeholderManagement',
            meta: { title: '相关方管理', icon: 'component', noCache: false, link: null }
          }
        ]
      },
      {
        name: 'projectInitiation',
        path: 'projectInitiation',
        hidden: false,
        redirect: 'noRedirect',
        component: 'ParentView',
        alwaysShow: true,
        meta: { title: '项目启动', icon: 'log', noCache: false, link: null },
        children: [
          {
            name: 'contractRegistration',
            path: 'contractRegistration',
            hidden: false,
            redirect: 'noRedirect',
            component: 'projectInitiation/contractRegistration',
            meta: { title: '合同登记', icon: 'clipboard', noCache: false, link: null }
          },
          {
            name: 'intentionalDeclaration',
            path: 'intentionalDeclaration',
            hidden: false,
            redirect: 'noRedirect',
            component: 'projectInitiation/intentionalDeclaration',
            meta: { title: '意向申报', icon: 'clipboard', noCache: false, link: null }
          },
          {
            name: 'intentionalProjectLibrary',
            path: 'intentionalProjectLibrary',
            hidden: false,
            redirect: 'noRedirect',
            component: 'projectInitiation/intentionalProjectLibrary',
            meta: { title: '意向项目库', icon: 'clipboard', noCache: false, link: null }
          },
          {
            name: 'projectApproval',
            path: 'projectApproval',
            hidden: false,
            redirect: 'noRedirect',
            component: 'projectInitiation/projectApproval',
            meta: { title: '项目立项', icon: 'clipboard', noCache: false, link: null }
          },
          {
            name: 'underConstructionProjectLibrary',
            path: 'underConstructionProjectLibrary',
            hidden: false,
            redirect: 'noRedirect',
            component: 'projectInitiation/underConstructionProjectLibrary',
            meta: { title: '在建项目库', icon: 'clipboard', noCache: false, link: null }
          }
        ]
      },
      {
        name: 'projectConclusion',
        path: 'projectConclusion',
        hidden: false,
        redirect: 'noRedirect',
        component: 'ParentView',
        alwaysShow: true,
        meta: { title: '项目收尾', icon: 'log', noCache: false, link: null },
        children: [
          {
            name: 'projectClosure',
            path: 'projectClosure',
            hidden: false,
            redirect: 'noRedirect',
            component: 'projectConclusion/projectClosure',
            meta: { title: '项目结项', icon: 'clipboard', noCache: false, link: null }
          },
          {
            name: 'fileArchiving',
            path: 'fileArchiving',
            hidden: false,
            redirect: 'noRedirect',
            component: 'projectConclusion/fileArchiving',
            meta: { title: '文件归档', icon: 'clipboard', noCache: false, link: null }
          },
          {
            name: 'completeProjectLibrary',
            path: 'completeProjectLibrary',
            hidden: false,
            redirect: 'noRedirect',
            component: 'projectConclusion/completeProjectLibrary',
            meta: { title: '完结项目库', icon: 'clipboard', noCache: false, link: null }
          }
        ]
      },
      {
        name: 'Integrated',
        path: 'integrated',
        hidden: false,
        redirect: 'noRedirect',
        component: 'ParentView',
        meta: { title: '综合管理', icon: 'log', noCache: false, link: null },
        children: [
          {
            name: 'RolePermission',
            path: 'rolePermission',
            hidden: false,
            redirect: 'noRedirect',
            component: 'integrated/rolePermission',
            meta: { title: '角色权限', icon: 'clipboard', noCache: false, link: null }
          }, {
            name: 'ProjectLedger',
            path: 'projectLedger',
            hidden: false,
            redirect: 'noRedirect',
            component: 'integrated/projectLedger',
            meta: { title: '项目台账', icon: 'clipboard', noCache: false, link: null }
          }, {
            name: 'ProjectResult',
            path: 'projectResult',
            hidden: false,
            redirect: 'noRedirect',
            component: 'integrated/projectResult',
            meta: { title: '项目成果', icon: 'clipboard', noCache: false, link: null }
          }, {
            name: 'KnowledgeBase',
            path: 'knowledgeBase',
            hidden: false,
            redirect: 'noRedirect',
            component: 'integrated/knowledgeBase',
            meta: { title: '项目知识库', icon: 'clipboard', noCache: false, link: null }
          }, {
            name: 'StatisticAnalysis',
            path: 'statisticAnalysis',
            hidden: false,
            redirect: 'noRedirect',
            component: 'integrated/statisticAnalysis',
            meta: { title: '统计分析', icon: 'clipboard', noCache: false, link: null }
          }
        ]
      }
    ]
  },
  // 项目组成员
  {
    name: 'Member',
    path: '/member',
    hidden: false,
    redirect: 'noRedirect',
    component: 'Layout',
    alwaysShow: true,
    meta: { title: '项目组成员', icon: 'component', noCache: false, link: null },
    children: [
      {
        name: 'projectMember',
        path: '/projectMember',
        hidden: false,
        redirect: 'noRedirect',
        component: 'member/index',
        meta: { title: '项目组成员', icon: 'clipboard', noCache: false, link: null }
      }
    ]
  },
  // 项目看板
  {
    name: 'projectKanban',
    path: '/projectKanban',
    hidden: false,
    redirect: 'noRedirect',
    component: 'Layout',
    alwaysShow: true,
    meta: { title: '项目看板', icon: 'component', noCache: false, link: null },
    children: [
      {
        name: 'antForest',
        path: 'antForest',
        hidden: false,
        redirect: 'noRedirect',
        component: 'projectKanban/antForest',
        meta: { title: '蚂蚁森林', icon: 'clipboard', noCache: false, link: null }
      },
      {
        name: 'robot',
        path: 'robot',
        hidden: false,
        redirect: 'noRedirect',
        component: 'projectKanban/robot',
        meta: { title: '蓝旗机器人', icon: 'clipboard', noCache: false, link: null }
      },
      {
        name: 'threeNorthPhaseSix',
        path: 'threeNorthPhaseSix',
        hidden: false,
        redirect: 'noRedirect',
        component: 'projectKanban/threeNorthPhaseSix',
        meta: { title: '三北六期', icon: 'clipboard', noCache: false, link: null }
      },
      {
        name: 'photovoltaicSandControl',
        path: 'photovoltaicSandControl',
        hidden: false,
        redirect: 'noRedirect',
        component: 'photovoltaicSandControl/dataView',
        meta: { title: '光伏治沙', icon: 'clipboard', noCache: false, link: null }
      },
      {
        name: 'cityProject',
        path: 'cityProject',
        hidden: false,
        redirect: 'noRedirect',
        component: 'projectKanban/cityProject',
        meta: { title: '风光一体化', icon: 'clipboard', noCache: false, link: null }
      }
    ]
  }
]
